import React from 'react';
import './App.css';
import Home from './views/Home.js'
;
import Login from './views/Login.js';
import Register from './views/Register.js';import { BrowserRouter, HashRouter, Route, Link } from 'react-router-dom';

function App() {
  return (
    <div className="App">
      <BrowserRouter>
      <Route path='/' exact component={Login}></Route>
      <Route path='/login' exact component={Login}></Route>
      <Route path='/register' exact component={Register}></Route>
      <Route path='/home' exact component={Home}></Route>
      </BrowserRouter>
      
    </div>
  );
}

export default App;
